<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>
<div id="app">
    <a v-bind:href="url">链接一</a>
    <a :href="url">链接二</a>

    <input type="text" v-model="url">
</div>
    <script>
        new Vue({
            el:"#app",
            data:{
                url:"https://www.baidu.com"
            }
        })
    </script>
</body>
</html>